package com.huawei.gamebox.service.welfare.gift.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.RelativeLayout.LayoutParams;
import o.exp.d;
import o.exp.j;

public class BuoyGiftListNode extends VerticalGiftListLineNode {
    public BuoyGiftListNode(Context context) {
        super(context);
    }

    protected View ˊ(LayoutInflater layoutInflater) {
        if (layoutInflater == null) {
            return null;
        }
        View inflate = layoutInflater.inflate(j.ˏˎ, null);
        if (inflate != null) {
            int ˎ = ˎ();
            View findViewById = inflate.findViewById(d.ॱͺ);
            LayoutParams layoutParams = (LayoutParams) findViewById.getLayoutParams();
            layoutParams.leftMargin = ˎ;
            findViewById.setLayoutParams(layoutParams);
            inflate.setPadding(0, 0, ˎ, 0);
        }
        return inflate;
    }

    protected View ॱ(LayoutInflater layoutInflater) {
        if (layoutInflater != null) {
            return (FrameLayout) layoutInflater.inflate(j.ॱˊ, null);
        }
        return null;
    }

    protected boolean ॱॱ() {
        return false;
    }

    protected int ʻ() {
        return 4;
    }
}
